-- background: 2672 from stack: in.0-Anim5 -- bmap block id: 3086 -- flags: 0000 -- background id: 0 -- name: Stacks ----- HyperTalk script ----- -- part 4 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=47 top=77 right=305 bottom=425 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: wind -- part 3 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=54 top=61 right=76 bottom=74 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: closebox ----- HyperTalk script ----- -- This handler sets the cursor to simulate a real closeBox. on mouseEnter set the cursor to "arrow" end mouseEnter -- This handler sets the cursor to simulate a real closeBox. on mouseWithIn repeat until the mouseloc is not within the rect of me or the mouse is down set the cursor to "arrow" end repeat if the mouse is down then send mouseUp to me end if end mouseWithIn -- This handler simulates clicking in a closeBox. on mouseUp set the icon of me to 7937 wait 15 set the icon of me to 0 lock screen goBack unlock screen end mouseUp